package com.hzf.money.dao.mapper;

import com.hzf.money.dao.model.MoneyUser;
import com.hzf.money.dao.model.MoneyUserExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface MoneyUserMapper {
    long countByExample(MoneyUserExample example);

    int deleteByExample(MoneyUserExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(MoneyUser record);

    int insertSelective(MoneyUser record);

    List<MoneyUser> selectByExample(MoneyUserExample example);

    MoneyUser selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") MoneyUser record, @Param("example") MoneyUserExample example);

    int updateByExample(@Param("record") MoneyUser record, @Param("example") MoneyUserExample example);

    int updateByPrimaryKeySelective(MoneyUser record);

    int updateByPrimaryKey(MoneyUser record);
}